package com.lanyou.cook.web.param;

import java.util.Collection;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

import com.lanyou.cook.common.Constants;
import com.lanyou.cook.entity.domain.userManagement.User;

public class UserParam extends User{
	
	
	private String orgId;	//用户所属部门ID
	
	private String roleId;	//用户角色ID
	
	private String companyId; //公司ID
	
	private String grantStatus; //授权状态
	
	private String oldPassword;//旧密码
	
	private String exeTimeOnDay;//每天发送邮件的时间

	@DateTimeFormat(pattern = Constants.DATETIME_PATTERN_1)
	private Date beginOfCreateTime;
	
	@DateTimeFormat(pattern = Constants.DATETIME_PATTERN_1)
	private Date endOfCreateTime;
	
	public Date getBeginOfCreateTime() {
		return beginOfCreateTime;
	}

	public void setBeginOfCreateTime(Date beginOfCreateTime) {
		this.beginOfCreateTime = beginOfCreateTime;
	}

	public Date getEndOfCreateTime() {
		return endOfCreateTime;
	}

	public void setEndOfCreateTime(Date endOfCreateTime) {
		this.endOfCreateTime = endOfCreateTime;
	}
	
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	
	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	
	
	private Collection<String> fieldSystemIds;


	public Collection<String> getFieldSystemIds() {
		return fieldSystemIds;
	}

	public void setFieldSystemIds(Collection<String> fieldSystemIds) {
		this.fieldSystemIds = fieldSystemIds;
	}

	public String getGrantStatus() {
		return grantStatus;
	}

	public void setGrantStatus(String grantStatus) {
		this.grantStatus = grantStatus;
	}

	public String getOldPassword() {
		return oldPassword;
	}

	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}
	
	

}
